package com.java2007.hotel.service;

import com.java2007.hotel.entity.DinnerCar;
import com.java2007.hotel.pojo.DinnerTable;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;

/**
 * @author Reckeys
 * @version V1.0
 * @date 2021/01/27
 **/
public interface DinnerCarService {
    /**
     * 将菜信息添加到购物车
     * @param foodId
     * @param number
     * @param dinnerCarList
     * @return
     * @throws SQLException
     */
    List<DinnerCar> addFoodToDinnerCar(Integer foodId, Integer number, List<DinnerCar> dinnerCarList) throws SQLException;

}
